package com.zucc.controller.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-05 4:06 下午
 */
@Data
@ApiModel("附件信息返回值")
public class AttachmentResp {

    @ApiModelProperty(value = "附件编号", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "最后修改时间", required = true)
    private Date modifyTime;

    @ApiModelProperty(value = "附件类型字典项编号", required = true)
    private Long typeDictItemId;

    @ApiModelProperty(value = "关联业务对象编号", required = true)
    private Long buzId;

//    @ApiModelProperty(value = "文件类型", required = true)
//    private String fileType;

//    @ApiModelProperty(value = "附件名称", required = true)
//    private String name;

    @ApiModelProperty(value = "文件大小(字节)", required = true)
    private Integer size;

    @ApiModelProperty(value = "附件路径", required = true)
    private String uri;

//    @ApiModelProperty(value = "上传者编号", required = true)
//    private Long userId;

    @ApiModelProperty(value = "上传时文件名称", required = true)
    private String oldName;
}
